package com.meilai.project.vo.business.installOrder;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.meilai.project.entity.business.building.BuildingArea;
import com.meilai.project.entity.media.MediaPoint;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;


/**
 * @author 杨凯博
 * @date 2022/3/17
 */


@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ApiModel(value="返回对象-工单管理-楼盘", description="返回对象-工单管理-楼盘")
public class WorkOrderBuildingVO extends BuildingArea {
    @JsonIgnore
    @ApiModelProperty("未安装点位数量")
    private Integer uninstall_point_num;
    @JsonIgnore
    @ApiModelProperty("巡检楼盘包含的点位")
    private List<MediaPoint> mediaPoints;

    @JsonIgnore
    @ApiModelProperty("点位类型id")
    private Integer media_type_id;


    @ApiModelProperty(value = "点位情况")
    private List<WorkOrderMediaPointVO> media_point;


}
